import MyPromise from "./index.js";

new MyPromise((resolve, reject) => {
  resolve(
    new MyPromise((resolve, reject) => {
      resolve(100);
    })
  );
}).then((data) => {
  console.log(data);
});
